<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模仿接口--注释法</title>
</head>
<body>
<script src="Interface.js"></script>
<script>
    var  CompositeForm=function (id,method,action) {
    };
    CompositeForm.prototype.add=function(child){

    };
    CompositeForm.prototype.remove=function(child){

    };
    CompositeForm.prototype.getChild=function(index){

    };
    CompositeForm.prototype.save=function(){

    }

</script>
</body>
</html>